<template>
  <div>
    <div>app-组件</div>
    <Child />
  </div>
</template>

<script>
import Child from "@/components/Child";
export default {
  components: {
    Child,
  },
  mounted() {
    fetch(
      "/api/mmdb/movie/v3/list/hot.json?ct=%E5%8C%97%E4%BA%AC&ci=1&channelId=4"
    )
      .then((response) => response.json())
      .then((res) => {
        console.log(res);
      });
  },
};
</script>
